package fr.ensai.tp1.model;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

import org.apache.commons.lang3.builder.ToStringBuilder;

@Entity
@DiscriminatorValue("voiture")
public class Voiture extends Vehicule {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1665538171969335433L;
	
	
	private int volumeCoffre;
	
	

	public String toString(){
		return ToStringBuilder.reflectionToString(this);
	}

	public int getVolumeCoffre() {
		return volumeCoffre;
	}
	public void setVolumeCoffre(int volumeCoffre) {
		this.volumeCoffre = volumeCoffre;
	}
	
	

}
